<%@ page import="com.qf.pojo.Profile" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 常肖飞先生
  Date: 2022/5/27
  Time: 12:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <style>
        table{
            border: 1px solid orange;
            width: 1000px;
            margin: 10px auto;
            text-align: center;
            border-collapse: collapse;
        }
        tr{
            border: 1px solid orange;
            height: 50px;
            text-align: center;
        }
        td,th{
            border: 1px solid orange;
        }
        h2{
            text-align:center;
        }
    </style>
    <title>档案明细页面</title>
</head>
<body>
<%--<% Object profile = request.getParameter("profile");%>--%>
<table>
    <tr>
        <td>编号</td>
        <td>${profile.id}</td>
    </tr>
    <tr>
        <td>姓名</td>
        <td>${profile.name}</td>
    </tr>
    <tr>
        <td>生日</td>
        <td>${profile.birthday}</td>
    </tr>
    <tr>
        <td>性别</td>
        <td>${profile.gender}</td>
    </tr>
    <tr>
        <td>职业</td>
        <td>${profile.career}</td>
    </tr>
    <tr>
        <td>住所</td>
        <td>${profile.address}</td>
    </tr>
    <tr>
        <td>电话</td>
        <td>${profile.mobile}</td>
    </tr>
</table>
<div class="col-xs-6 col-md-6">
    <a href="#" class="thumbnail">
        <img src="${pageContext.request.contextPath}/${profile.picture}"  width="560" height="560"  alt="${profile.name}" />
    </a>
</div>
</body>
</html>
